﻿using BlogSystem.Ability.Docking.UserApp;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace BlogSystem.Web.Controllers
{
    [Route("api/[controller]")]
    [ApiController]
    public class UserController : ControllerBase
    {
        public IUserServicer UserServicer { get; set; }

        public async Task<bool> RegistUser(UserCreateDto createDto)
        {
            return await UserServicer.RegistUser(createDto);
        }
    }
}
